model context protocol
MAP: Remapping Runtime Intent in Database-Backed Model Context Protocol (MCP) Servers
Ma, Boyang, Dai, XueLong, Xu, Minghui, Li, Jinku, Zhang, Yue
Agentic systems increasingly delegate database access to Model Context Protocol (MCP) servers that execute model-directed Structured Query Language (SQL) using long-lived credentials. Although the database can authenticate the credential, it cannot determine whether an operation matches the issuing process's role. We study 254 public database MCP servers, covering 93.4% of the SQL-backed subset in two ecosystem corpora. We find that 81.5% request authority beyond the operation classes evident in their implementations, while 18.1% expose hardcoded credentials. An executable attack demonstrates how adversarial context can convert this excess authority into a destructive yet authenticated database operation. We present MAP (MCP-Aware Privilege Enforcement), which makes operational intent an independently enforced runtime invariant. MAP binds deployment-defined privilege ceilings to MCP server processes, attributes outgoing database operations to their issuers, and blocks out-of-role execution before it reaches the database, without modifying MCP servers or database engines. Across 123 operational servers, MAP preserves legitimate database behavior while enforcing process-scoped privilege boundaries. It adds 28$μ$s mean query latency and reduces median throughput by 13.6%. Process-bound runtime enforcement can thus provide a practical security boundary for database access in agentic systems.
LimoBench: How Street Smart Are Large Language Models?
Choudhary, Gautam, Peng, Jack, Kumarasinghe, Udesh, Rafik, Rachel, Hammad, Yousef, Samy, Ahmed, Aref, Walid G.
Large language models (LLMs) have transformed how humans interact with information, enabling natural-language interfaces across various domains. They are increasingly deployed for geospatial applications including map-based question answering, location-based services, and natural-language interfaces to spatial databases. But are LLMs truly location-aware, able to reliably interpret and precisely answer location queries involving real-world coordinates, points of interest (POIs), and geospatial distances? To answer this concretely, we present LimoBench, a street-level benchmark of 82 natural-language location queries over seven canonical spatial operations: geocoding, reverse geocoding, routing, directionality, range search, $k$-nearest-neighbor search, and spatial join. The queries are grounded in real map data of West Lafayette, Indiana, and are graded by location and semantic complexity. They are designed to probe LLMs' street-level spatial awareness, from simple lookups to multi-step spatial reasoning. We also present Limo, an approach based on the Model Context Protocol (MCP) that enhances the location awareness of LLMs. Limo grounds LLMs in PostGIS-backed spatial data through a compact set of tools. We find that ungrounded models mostly achieve single-digit accuracy (3.1% for GPT-6 Luna) across different spatial operations. In contrast, the same models achieve near-perfect accuracy (99.3% for GPT-6 Luna) when given access to Limo's spatial tools through MCP. Current LLMs thus have limited and unreliable street-level spatial knowledge, while grounding provides accurate answers at modest overhead (+0.2 s latency, 7.7$\times$ tokens, and 2.2$\times$ cost for GPT-6 Luna). We release the benchmark, Limo toolset, and evaluation code to encourage the community to evaluate their own location-aware LLM approaches.
SchemaCaps: When a Compatible Tool Update Silently Widens an AI Agent's Authority
Ameur, Yulliwas, Bouzefrane, Samia, Banerjee, Soumya
The tools users approve for their AI agents keep changing their JSON input schemas. Of 8 surveyed MCP clients and scanners, none is observed or documented to re-approve a tool whose input schema widens (two not determinable). We define non-amplification over the coordinates visible in the schema (declared arguments and undeclared fields, on effective values) and a re-binding rule decided by subschema inclusion, trusting no field labels by default and conservative up to its checker and tested case analysis. Evidence: a Coq proof of composition; 48 regression tests; an exact-reference benchmark, where the reviewed version of the rule silently re-bound 27 amplifying changes, now fixed; and a pilot on 604 releases of 39 public MCP servers. There, 412 of 580 compatible schema changes widen some coordinate, yet compatibility re-binds them silently. The authors' adjudicated double annotation finds at least 76 that add or widen an authority-bearing argument (66 of the 84 a name-based labeller flags, plus 10 it misses). On existing tools, the rule asks 645 re-approvals, against 1,197 for pinning the input schema (2,004 with descriptions) and 617 for compatibility. Behaviour change behind an identical schema remains out of reach.
When the World Is the Test Suite: Agentic Intelligence for the Physical World
Li, Kaixin, Luo, Meng, Li, Yanlin, Tian, Yuchen, Liu, Xiang, Jian, Xiangru, Yang, Yan, Xi, Zhiheng, Zhang, Yang, Luo, Ziyang, Cheng, Mingfei, Lin, Hongzhan
Coding agents built to repair software now write, test, and repair programs for robots, laboratories, and industrial controllers. Unlike in software engineering, no test suite comes with the code. Whether a program works must be established by running it on a robot, in a physics simulator, or through the policies it helps to train, and such evidence is costly to obtain and can itself be wrong. As these agents take on more physical tasks, how their programs are judged matters as much as how they are written. This paper examines this emerging area, agentic intelligence for the physical world, by treating the world as the program's test suite. We organize the discussion around three questions: how agents write programs for the physical world, how these programs are tested, and how agents learn from the results. We first trace how language models for robots and software engineering agents came together, ask which software testing practices carry over to physical tests, and describe each program by where it sits relative to the actuator and by what judges it. For writing, we cover programs that act as robot policies and programs that support policy learning by producing rewards, tasks, and training worlds. For testing, we examine what physical trials cost, what traces, learned judges, simulators, and formal checks can establish in their place, and what safety requires beyond task success. For learning, we discuss how tested programs are retained as experience, in skill libraries and in model weights. Finally, we turn to benchmarks and evaluation practice and outline open challenges. Writing programs is becoming cheap, while trustworthy evidence about what they do remains costly. Progress will therefore depend on a physical counterpart of continuous integration: verification cheap enough to run often, reliable enough to trust under search, and maintained alongside the experience it validates.
ProbeID: Verifying MCP Tool Identity for LLM Agents under Registry Drift
Chen, Guanxing, Zhang, Sining, He, Haohuai, Lv, Qiujie, Huang, Yu-An, Huang, Zhi-An
Large language model (LLM) agents increasingly act through external tools, and the Model Context Protocol (MCP) has turned this into a fast-growing open ecosystem of community-published tool servers (Model Context Protocol, 2025; Song et al., 2026). An agent that needs a capability searches a large registry and ranks tools by their advertised descriptions (Qin et al., 2024; Fei et al., 2025), so unauthenticated, attacker-editable text decides which implementation runs (Sneh et al., 2025). Audits find most tool descriptions underspecified (Hasan et al., 2026), server behavior departing from the descriptions at registry scale (Li et al., 2026), and squatting among the main attack vectors (Maloyan & Namiot, 2025). The protocol's security interest group lists runtime drift and tool identity as open problems (Model Context Protocol, 2026). However, description routing and admission-time binding both assume that declared metadata fixes behavior, and registry drift breaks that assumption. A squatter copies the description of a trusted tool but implements different behavior (Beurer-Kellner & Fischer, 2025a; Wang et al., 2025b), so a description router admits it and may select it. Admission controls bind definitions or provenance (Bhatt et al., 2025; Narajala et al., 2026; Metere, 2026), but a definition bound at admission does not expose a later change in behavior. In an adaptive-distractor setting, certified correctness of metadata-based selection falls to about twenty percent after ten rounds (Yeon et al., 2026). No description matcher can recover the intended tool from identical descriptions.
MCP vs CLI for AI Agents: A Comparative Analysis of Tool Integration Strategies for Autonomous Systems
Malik, Arun, Talasu, Nitish, Klemick, Bradley, Trivedi, Vineet Tushar, Shah, Prachi, Devi, Sanay, Zhang, Junjie, Sonawane, Kunal
AI agents require interfaces to interact with external systems such as files, APIs, databases, and cloud services. Two competing paradigms have emerged: CLI (Command Line Interface), where agents execute shell commands directly, and MCP (Model Context Protocol), a structured JSON-RPC protocol providing governed, typed tool access. This paper presents a comparative analysis across 14 evaluation dimensions, supported by worked examples, security assessment against established compliance frameworks, and economic modeling. Our analysis indicates that CLI provides superior efficiency for single-user, local-only workflows, while MCP addresses requirements that CLI fundamentally cannot satisfy, including fine-grained access control, credential isolation, structured audit, and multi-tenant governance. We further examine how progressive disclosure techniques eliminate MCP's historical weakness (context window overhead), yielding token efficiency comparable to CLI while preserving its architectural benefits. A hybrid architecture is recommended for production systems. This analysis draws upon academic, government, and industry sources including NSA formal guidance (CSI U/OO/6030316-26), OWASP security standards, and economic modeling from BCG and Gartner.
The Cost of Saying Hello: An Empirical Study of Handshake Overhead in AI Agent Communication Protocols
Every interaction between AI agents begins with a handshake: the initiating agent must locate its counterpart, learn what it can do, and establish a session before the first useful message can be sent. Surveys of agent communication protocols name handshake overhead as an efficiency criterion, yet none report measurements. This paper presents the first empirical, phase-decomposed benchmark of the handshake in three major agent protocols: MCP (in both its 2025 initialize and 2026 discover eras), A2A, and ACP. Using each protocol's official SDK, we instrument every request for round trips, per-phase latency, wire bytes, and token cost across cold-start, warm-repeat, capability-mismatch, and degraded-metadata scenarios (N=50 per cell, on loopback and under an emulated 50 ms RTT). Round-trip count dominates handshake cost. A legacy MCP handshake takes three round trips and 230 ms at 50 ms RTT; A2A needs one round trip and 61.0 ms. Round trips are not the whole bill: when an LLM reads the counterpart's metadata, handshake cost scales with the counterpart's capability inventory at 24-107 tokens per capability, so a 200-capability counterpart spends 11% of a 200k-token context window before the agent reads its own task. MCP's own 2026 revision cuts its handshake from three round trips to two and, with era pinning, to zero on warm reconnects, protocol evolution that corroborates the cost we measure. We release the full harness, raw data, and analysis at https://github.com/pvarshh/handshake-benchmark.
Agentic Architecture of Information Systems. The AAM/5C Model: A Reference Model for Distributed Autonomy
The technical leadership of large organizations faces the cognitive complexity wall: at the scale of hundreds of interacting components within an Information System, maintaining the dependency map and reacting at the pace of incidents increasingly exceed what a human team can deliver [RH]. This book argues that the answer is not more tooling but a change of architecture: entrusting the components of the Information System with a share of perception, decision and coordination, without giving up control. To this end, the book proposes and develops the AAM/5C model -- Autonomic Architecture Model / 5 Capabilities -- built around five Capabilities (Capture, Comprehend, Choose, Coordinate, Control) instantiated in seven logical layers, L1 to L7. The guiding principle is that intelligence proposes but never acts without validation: every act executed autonomously must be explicitly authorized, continuously audited and reversible, through a separation of powers built into the architecture. The contribution of the book is a prescriptive reference model that articulates, under a single authorization rule, known mechanisms -- separation of decision, issuance and enforcement, bounded authorization, the autonomic loop -- and adds three constructs, all to be validated: the Validation step of the Distributed Autonomy Loop, the ephemeral authority surface and the cognitive dependency plane. The targeted benefits are quantified as design targets [DT] to be validated and organized into ten falsifiable hypotheses (H1 to H10): Remediation time under one minute; Proactive incident avoidance above 85%; Peer consensus within 500 ms at the 95th percentile; No agentic act outside the log or outside the authorization path; Toil reduction above 75%; Ratio of net savings to total cost of ownership above 2.5. The model distinguishes what its architecture guarantees under explicit assumptions -- every admitted act carries a verified authorization -- from what remains to be measured, and it targets large-scale Information Systems. The book has a conceptual status: it sets out and defends the model, without claiming to deploy it as is. Its research core is located as follows: the authorization rule R-AUT ( 2.2.3) and the guarantee contract ( 7.4.3),
Evaluating a Layered Prompt-Injection Defence for the Model Context Protocol: A Record-Level Audit of Decision Conventions, Corpus Provenance and Reproducibility
Turgut, İpek Abasıkeleş, Gümüş, Edip
The Model Context Protocol (MCP) extends the prompt-injection attack surface of large language model applications to tool descriptions, parameter schemas and tool outputs. Defences for it report detection figures that are not comparable, because each is measured on its authors' own corpus under a decision convention that is rarely stated. This paper audits one such evaluation at the level of individual decision records. Its object is CASCADE, a fully local layered defence (rule matching, embedding similarity and an optional local language-model review), run in three configurations on a frozen 5,000-sample corpus under a pinned code revision; the corpus, the per-sample records and the analysis scripts are public. Four findings result. First, the convention that collapses allow, review and block onto a binary label sets the headline: the pipeline without review reports an 11.70% false-positive rate when referrals count as positives and 1.51% when only denials do, while referring 68.5% of all traffic to a human. Second, the construction of the corpus shapes the aggregate: 65.6% of records are texts placed in one of five fixed wrappers, the wrapper alone identifies the label, and for the same text wrapping lowers the false-positive rate from 21.2% to 3.2% and raises detection from 86.0% to 98.0%. Third, the published description does not identify what ran: the rule module inside the pipeline is not the rule engine evaluated alone; the block threshold produced denials only among the first 48 requests; and, without review, every later denial, including all 23 denials of benign requests, came from an output guard run on an echo of the input. Fourth, the local review model, invoked on 32.6% of requests at 2.5 s each, changes no binary outcome but converts 1,492 referrals into denials. A ten-item reporting checklist is derived from these findings.
Bridging LLM Agents and Data Spaces: An Architectural Mediation Approach using the Model Context Protocol
Ruiz, Jaime Alonso, Aparicio, Carlos, Huecas, Gabriel, Salvachúa, Joaquín, Munoz-Arcentales, Andres
Data Spaces enable sovereign and governed data sharing across organizational boundaries, but their integration with AI agents remains challenging due to mismatches between probabilistic language model interactions and policy-driven data infrastructures. This article presents an architectural mediation approach based on the Model Context Protocol (MCP), implemented through the Eunomia Agent, to enable controlled interaction between large language model (LLM) agents and data space services. The proposed mediation layer translates data space capabilities into structured, schema-driven tools that AI agents can discover and invoke while preserving governance constraints. A prototype implementation validates end-to-end interaction across catalog discovery, metadata retrieval, and data service invocation without modifying existing data space components. Results demonstrate that protocol-based mediation enables interoperable and standards-aligned integration of AI agents into data space ecosystems. The approach provides practical guidance for organizations seeking to introduce AI-driven automation into governed data-sharing environments while maintaining compliance, interoperability, and architectural separation of concerns.